@import "~antd/lib/style/themes/default.less";

.ix-text {
    .overflow() {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        /* autoprefixer: off */
        -webkit-box-orient: vertical;
    }

    .hover-invert(@color) {
        color: @color;

        &:hover {
            color: white;
            background-color: @primary-color;
        }
    }
    .hover-border(@color) {
        color: @color;
        border: solid 1px white;
        &:hover {
            border: solid 1px @color;
            border-radius: 3px;
        }
    }
}